package com.ifdom.lamada.multMethod;

/**
 * @Author ifredomvip@gmail.com
 * @Date 2022/9/29 22:17
 */
public interface MultMethodInterface {
    void multMethod();

    static void staticFn() {
        System.out.println("staticFn");
    }

    default String otherFun() {
        System.out.println("otherFun");
        return "otherFun";
    }

    default String otherFun2(String parma1) {
        System.out.println(parma1);
        return parma1;
    }

    default String otherFun3(String parma1, String parma2) {
        System.out.println(parma1 + parma2);
        return parma1 + parma2;
    }
}
